package com.j1903.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("admin")
public class Admin {
    private Long id;
    //如果表字段不是以"_"分割的，那么
    //需要使用注解
    @TableField("action")
    private String action;
    @TableField("pwd")
    private String pwd;
}
